﻿using mozhi.smarterp.Finance.Payables;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Threading;
using Volo.Abp.Domain.Repositories;

namespace mozhi.smarterp.Finance.AccountsPayables.Repositories
{
    public interface IPurchasePayableRepository : IDocumentRepository<PurchasePayable , Guid>
    {
        Task<List<PurchasePayable>> GetPagedListAsync(string keyword, string number, Guid? supplierId, Guid? currencyId, int skipCount, int maxResultCount, string sorting, bool includeDetails = false, CancellationToken cancellationToken = default(CancellationToken));

        Task<long> GetCountAsync(string keyword, string number, Guid? supplierId, Guid? currencyId, Guid? excludeId, CancellationToken cancellationToken = default(CancellationToken));

    }
}
